package com.kinyx.framework.db.vo;

import org.junit.Assert;
import org.junit.Test;

public class MappingHandler_Tester_load_column_primaryKey {

	public class Column_PrimaryKey {

		@SuppressWarnings("unused")
		private String 无注解___false;

		@javax.persistence.Id
		private String Id注解___true;

	}

	@Test
	public void test() throws NoSuchFieldException, SecurityException {
		Assert.assertFalse(MappingHandler.load_column_primaryKey(Column_PrimaryKey.class.getDeclaredField("无注解___false")));
		Assert.assertTrue(MappingHandler.load_column_primaryKey(Column_PrimaryKey.class.getDeclaredField("Id注解___true")));
	}

}
